
public class TestVehicle {
	
	public static void main (String args[]){
		VehicleFactory f2=VehicleFactory.getVehiclerFactory(VehicleFactory.LUXURY_VEHICLE);
		System.out.println(f2.getCar().getCarName());
		
	}
	
}
